package com.wulian.service.impl;

import com.wulian.dao.DepartmentDao;
import com.wulian.entities.Department;
import com.wulian.service.DepartmentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author xf
 * @date 2021/3/24 下午 5:55
 * @Description
 */
@Service
public class DepartmentServiceImpl implements DepartmentService {

    @Autowired
    private DepartmentDao departmentDao;


    @Override
    public List<Department> getAll() {
        return departmentDao.getAll();
    }
}
